package cn.axj.crypt.secret.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author aoxiaojun
 * @date 2021/1/27 10:57
 **/
@Component
@ConfigurationProperties(prefix = "crypt.aes")
public class AesKeyConfig {

    private String key = "S9u978Q31NGPGc5H";

    private String iv = "X83yESM9iShLxfwS";

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getIv() {
        return iv;
    }

    public void setIv(String iv) {
        this.iv = iv;
    }
}
